package net.mingsoft.mdiy.constant.e;

public enum TagTypeEnum
{
    SINGLE("single"), 
    LIST("list"), 
    MACRO("macro");
    
    private String type;
    
    private TagTypeEnum(final String type) {
        this.type = type;
    }
    
    public static TagTypeEnum get(final String type) {
        for (final TagTypeEnum e : values()) {
            if (e.type.equals(type)) {
                return e;
            }
        }
        return null;
    }
}
